﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Project.Application
{
    public class UserLoginRequestDto
    {
        [Required]

        public string UserName { get; set; }


        [Required]
        [MinLength(6, ErrorMessage = "密码长度必须在6-20位字符")]
        [MaxLength(20, ErrorMessage = "密码长度必须在6-20位字符")]
        public string PassWord { get; set; }
    }
}
